package com.bawei.car.domain.contants;

/**
 * 购物车常量
 */
public class CarContants {

    /**
     * 获取用户购物车的前置键
     */
    public static  final  String CAR_PRE = "car:";

    /**
     * 用于获取用户购物车的键
     * @param sysUserId
     * @return
     */
    public static String getCarKey(final String sysUserId){
        return CAR_PRE + sysUserId;
    }

    /**
     * 默认sku数量
     */
    public static final Long CAR_SKU_DEF_NUMBER = new Long(1);

    /**
     * 默认sku选中状态
     */
    public static  final String CAR_SKU_DEF_CHECK = "N";

    /**
     * 默认sku状态
     */
    public static  final String CAR_SKU_DEF_STATUS = "1";

}
